package com.ukao.steward.bean;

import com.ukao.steward.util.CheckUtils;

import java.util.List;

/**
 * Created by ukaodev on 2017/9/18.
 */

public class WaitingOrderBean extends  BaseBean<WaitingOrderBean> {



        /**
         * pageNum : 1
         * pageSize : 6
         * size : 1
         * orderBy : null
         * startRow : 1
         * endRow : 1
         * total : 1
         * pages : 1
         * list : [{"orderNo":"2017091268574902","storeTel":null,"business":"[{\"id\": 1, \"name\": \"洗衣\"}]","sendName":"fsjs","takePhone":"15525233523","takeTimeEnd":"18:00","remark":null,"sendAddress":"北京 东城 东城区 abc0245","userRemark":"","payStatusText":"未支付","createTime":1505206644000,"sendPhone":"15525233523","takeTimeStart":"16:00","storeName":null,"id":228,"takeAddress":"北京 东城 东城区 abc0245","takeName":"fsjs","takeDate":"2017-09-12"}]
         * firstPage : 1
         * prePage : 0
         * nextPage : 0
         * lastPage : 1
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private Object orderBy;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getOrderBy() {
            return orderBy;
        }

        public void setOrderBy(Object orderBy) {
            this.orderBy = orderBy;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * orderNo : 2017091268574902
             * storeTel : null
             * business : [{"id": 1, "name": "洗衣"}]
             * sendName : fsjs
             * takePhone : 15525233523
             * takeTimeEnd : 18:00
             * remark : null
             * sendAddress : 北京 东城 东城区 abc0245
             * userRemark :
             * payStatusText : 未支付
             * createTime : 1505206644000
             * sendPhone : 15525233523
             * takeTimeStart : 16:00
             * storeName : null
             * id : 228
             * takeAddress : 北京 东城 东城区 abc0245
             * takeName : fsjs
             * takeDate : 2017-09-12
             */


            private   Integer valuationPrice;



            private  String  proPriceDesc;
            private   Integer  paymentPrice;
            private  long  statusTime;
            private  String  transNo;
            private String orderNo;
            private String storeTel;
            private String business;
            private String sendName;
            private String takePhone;
            private String takeTimeEnd;
            private Object remark;
            private String sendAddress;
            private String userRemark;
            private String payStatusText;
            private long createTime;
            private String sendPhone;
            private  int  productCnt;
        private   int  annexCnt;

            private String takeTimeStart;
            private String storeName;
            private String id;
            private String takeAddress;
            private String takeName;
            private String takeDate;
            private   Integer  payablePrice;
            private   Integer  modifyPrice;
      private   int   payStatus;


            public int getProductCnt() {
                return productCnt;
            }

            public int getAnnexCnt() {
                return annexCnt;
            }

            public Integer getValuationPrice() {
                return valuationPrice;
            }

            public String getProPriceDesc() {
                return proPriceDesc;
            }

            public boolean getPayStatus() {
                boolean  isPay=false;
                if (payStatus==1){
                    isPay=true;
                }

                return isPay;
            }

            public Integer getPaymentPrice() {
                return paymentPrice;
            }

            public void setModifyPrice(Integer modifyPrice) {
                this.modifyPrice = modifyPrice;
            }

            public long getStatusTime() {
                return statusTime;
            }

            public String getTransNo() {
                return transNo;
            }

            public Integer getPayablePrice() {
                return payablePrice;
            }

            public Integer getModifyPrice() {
                return modifyPrice;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public String getStoreTel() {
                return storeTel;
            }

            public void setStoreTel(String storeTel) {
                this.storeTel = storeTel;
            }

            public String getBusiness() {
                return business;
            }

            public void setBusiness(String business) {
                this.business = business;
            }

            public String getSendName() {
                return CheckUtils.isEmptyString(sendName);
            }

            public void setSendName(String sendName) {
                this.sendName = sendName;
            }

            public String getTakePhone() {
                return takePhone;
            }

            public void setTakePhone(String takePhone) {
                this.takePhone = takePhone;
            }

            public String getTakeTimeEnd() {
                return takeTimeEnd;
            }

            public void setTakeTimeEnd(String takeTimeEnd) {
                this.takeTimeEnd = takeTimeEnd;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(Object remark) {
                this.remark = remark;
            }

            public String getSendAddress() {
                return sendAddress;
            }

            public void setSendAddress(String sendAddress) {
                this.sendAddress = sendAddress;
            }

            public String getUserRemark() {
                if (CheckUtils.isEmpty(userRemark)){
                    userRemark="无";
                }
                return userRemark;
            }

            public void setUserRemark(String userRemark) {
                this.userRemark = userRemark;
            }

            public String getPayStatusText() {
                return payStatusText;
            }

            public void setPayStatusText(String payStatusText) {
                this.payStatusText = payStatusText;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getSendPhone() {
                return CheckUtils.isEmptyString(sendPhone);
            }

            public void setSendPhone(String sendPhone) {
                this.sendPhone = sendPhone;
            }

            public String getTakeTimeStart() {
                return takeTimeStart;
            }

            public void setTakeTimeStart(String takeTimeStart) {
                this.takeTimeStart = takeTimeStart;
            }

            public String getStoreName() {
                return storeName;
            }

            public void setStoreName(String storeName) {
                this.storeName = storeName;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTakeAddress() {
                return takeAddress;
            }

            public void setTakeAddress(String takeAddress) {
                this.takeAddress = takeAddress;
            }

            public String getTakeName() {
                return takeName;
            }

            public void setTakeName(String takeName) {
                this.takeName = takeName;
            }

            public String getTakeDate() {
                return takeDate;
            }

            public void setTakeDate(String takeDate) {
                this.takeDate = takeDate;
            }
        }

}
